const ajax = require('../../../utils/ajax/ajax.js')
const util = require('../../../utils/util.js')
Page({
    data: {
        
    },
    onLoad: function (options) {
       
    },
    getUserProfile(e) {
        const that = this
        wx.getUserProfile({
            desc: '用于完善会员资料',
            success(res) {
                console.log(res)
                wx.switchTab({
                  url: '/pages/Index/index/index',
                })
            },
            fail(err) {
                console.log(err)
            }
        })
    }
})